body {
  font-family: Arial, sans-serif;
  background-color: #f8f8f8; /* Light gray background */
  margin: 0;
  padding: 0;
}

header {
  background-color: #1d2322; /* Tomato red */
  color: white;
  padding: 24px;
  text-align: center;
  font-size: 24px;
  position: relative; /* Added relative positioning */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

.title {
  display: inline-block;
  background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.5) 0%, rgb(255, 255, 255) 90%);
  background-clip: text;
  line-height: 28px;
  -webkit-text-fill-color: transparent;
}

#logout-btn {
  position: absolute;
  top: 24px;
  right: 20px;
  padding: 5px 10px;
  background-color: #34d399;
  border-radius: 4px;
  font-size: 16px;
  color: black;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  line-height: 20px;
}

#welcome {
  position: absolute;
  top: 28px;
  right: 100px;
  padding: 5px 10px;
  font-size: 14px;
  color: white;
  border: none;
  cursor: pointer;
}

#sidebar {
  height: 100%;
  width: 256px;
  background-color: #151a22d1; /* Dark gray */
  color: white;
  overflow-y: auto; /* Add scroll if needed */
  transition: 0.3s; /* Add smooth transition */
}

#sidebar .active {
  color: #34d399;
}

#sidebar ul {
  list-style-type: none;
  padding: 0;
}

#sidebar li {
  padding: 16px;
  font-size: 20px;
  border-bottom: 1px solid #808080;
}

#sidebar a {
  text-decoration: none;
  color: white;
}

.table_display_div {
  text-align: center;
  padding: 60px 40px;
  color: black;
  overflow-y: auto;
}

.table_head {
  font-size: 24px; /* Account console字体大小 */
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.table_search,
#create_account {
  display: flex;
  gap: 10px;
  align-items: center;
}

#search_input,
#search {
  font-size: 16px; /* 搜索框和搜索按钮字体大小 */
}

.table_display {
  width: 100%;
  border-collapse: collapse; /* 边框合并 */
}

.table_display th,
.table_display td {
  padding: 12px;
  border: 2px solid gray; /* 单元格边框 */
}

.table_display th {
  font-size: 20px; /* thead字体大小 */
}

.table_display td {
  font-size: 16px; /* 表格内容字体大小 */
}

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 10ch;
}

/* 链接样式 */
a {
  color: #06c;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

textarea {
  width: 100%;
  padding: 80px;
  box-sizing: border-box;
  resize: none;
}

.viewed {
  color: #ff7e67;
  font-weight: bold;
  margin-left: 10px;
}

.unviewed {
  color: #34d399;
  font-weight: bold;
  margin-left: 10px;
}

#create-btn {
  position: static; /* Reset to default */
  top: auto; /* Reset to default */
  right: auto; /* Reset to default */
  padding: initial; /* Reset to default */
  background-color: initial; /* Reset to default */
  font-size: medium; /* Reset to default */
  color: initial; /* Reset to default */
  border: initial; /* Reset to default */
  cursor: initial; /* Reset to default */
}
